<?php

require_once dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    //$this->setWebDir($this->getRootDir().'/public_html');   //修改网站根目录
    sfConfig::set('sf_upload_dir', $this->getRootDir().'/public_html/uploads');
    $this->enablePlugins('sfDoctrinePlugin');
    $this->enablePlugins('sfCaptchaGDPlugin');
    $this->enablePlugins('sfThumbnailPlugin');
  }
}
